def sum_numbers(*numbers):
    total = 0
    for number in numbers:
        total += number
    return total

def multiply_numbers(*numbers):
    result = 1
    for number in numbers:
        result *= number
    return result

def print_info(*args):
    for i,arg in enumerate(args):
        print(f"参数{i+1}:值={arg},类型：{type(arg)}")


if __name__ == "__main__":

    print(f"sum_numbers(1, 2, 3) = {sum_numbers(1, 2, 3)}")
    print(f"sum_numbers(10, 20, 30, 40) = {sum_numbers(10, 20, 30, 40)}\n")

    print(f"multiply_numbers(2, 3, 4) = {multiply_numbers(2, 3, 4)}")
    print(f"multiply_numbers(1, 2, 3, 4, 5) = {multiply_numbers(1, 2, 3, 4, 5)}\n")

    print_info("Hello", 123, [1, 2, 3], {"name": "Alice"}, 3.14)